package cn.edu.hubu.hubusmartmedicalsystem.mapper;

import cn.edu.hubu.hubusmartmedicalsystem.entity.Doctor;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DoctorMapper {
    Doctor selectByID(String id); //按照id查询doctor
    List<Doctor> selectAll();
    int deleteById(String doctorId);
    int insertDoctor(Doctor doctor);//按照id插入doctor
    int updateDoctor(Doctor doctor);
    int deleteDoctor(String doctorId);
    List<Doctor> selectByDeptId(String deptId);
}
